home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol F-12 / (Vol F-12) Jun 02 2012.iso / Screensaver / screensaver_installer.exe / ____swmx / scripts / frame_1 / DoAction_14.as < prev    next >
Text File  |  2004-10-21  |  556b  |  22 lines

  1. _global.ScreenweaverDragDrop = function()
  2. {
  3.    this.init();
  4. };
  5. ScreenweaverDragDrop.prototype.init = function()
  6. {
  7. };
  8. ScreenweaverDragDrop.prototype.enable = function()
  9. {
  10.    swInterface.setEventListener("DragDrop",this.onDragDrop);
  11.    fscommand("sw_enableDragDrop");
  12. };
  13. ScreenweaverDragDrop.prototype.disable = function()
  14. {
  15.    fscommand("sw_disableDragDrop");
  16.    swInterface.clearEventListener("DragDrop");
  17. };
  18. ScreenweaverDragDrop.prototype.onDragDrop = function(name, data)
  19. {
  20.    swEvents.broadcastMessage.apply(swEvents,arguments);
  21. };
  22.